﻿using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace y12fjydbs_1
{
    public class MyGlobal
    {
        public static FrmYT frmYT;
        public static FrmYDL frmYDL;
        public static FrmYDR frmYDR;

        private static MySerialData serialData = null;
        public static bool IsChanelBusy = false;

        public static int FristShow = 1; //1:焰条,2:左焰弹


        public static MySerialData GetSerialData()
        {
            if(serialData == null)
            {
                serialData = new MySerialData();
            }
            return serialData;
        }

        public static string logFile = "";

        static public string Version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
    }
}
